package star.查找算法.旋转数组最小值;

public class MinArray {
    public int minArray(int[] numbers) {
        int i = 0, j = numbers.length - 1;
        while(j>=0 && numbers[i]>=numbers[j]){
            i=j;
            j--;
        }
        return numbers[i];
    }
}
